package dk.seqSite.page.part {	import flash.events.TimerEvent;		import flash.utils.Timer;			import dk.seqSite.page.part.AbstractPart;		/**	 * @author josef	 */	public class DelayPart extends AbstractPart {		private var _oTimer : Timer;		private var _nDelayMS : Number;		public function DelayPart(nDelayMS:Number=2000, sPartID : String = "", xmlPartData : XML = null) {			_nDelayMS = nDelayMS;			super(sPartID, xmlPartData);		}		override protected function onOpenPart() : void {			//super.onOpenPart();						_oTimer=new Timer(_nDelayMS, 1);			_oTimer.addEventListener(TimerEvent.TIMER, onTimer, false, 0, true);			_oTimer.start();		}		private function onTimer(event : TimerEvent) : void {			setPartOpned();		}	}}